package com.mcxx.modules.miniSalvation.order.dao.read;


import com.mcxx.modules.miniSalvation.order.entity.StandardEntity;
import com.mcxx.modules.system.param.StandardParam;
import com.yinhai.ta404.module.mybatis.mapper.Ta404SupportMapper;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface StandardReadDao extends Ta404SupportMapper {

    List<StandardEntity> getByParam(StandardParam standardParam);


    StandardEntity querySalvationStandard(StandardEntity standardEntity);


    List<StandardEntity> getSalvationStandardList(StandardParam param);


    List<StandardEntity> querySalvationByPid(String pId);


    StandardEntity selectStandardById(String id);


    int getOrderByGear(String type, String countType,String areaCode);


    String getStandardMoney(String areaCode, String businessType, String type);


    Map<String, BigDecimal> getMaxMinStandardMoney(String areaCode, String businessType);


    List<StandardEntity> getStandardForGroup(String standardId);


    int countSalvaLSType(String areaCode, String id);
}
